﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Resources;
using System.Text;
using System.Reflection;


namespace You2VTool.ResourceEnums
{
	public static class ButtonText
	{
		public static string SyncButton
		{
			get { return ResourceDiscovery.GetGlobalResource("ButtonText_Sync"); }
		}

		public static string ImportButton
		{
			get { return ResourceDiscovery.GetGlobalResource("ButtonText_Import"); }
		}

		public static string ExportButton
		{
			get { return ResourceDiscovery.GetGlobalResource("ButtonText_Export"); }
		}
	}

	public class ResourceDiscovery
	{
		public static string GetGlobalResource(string Key)
		{
			return _rm.GetString(Key, ci);
		}

		private static CultureInfo ci = new CultureInfo("es-MX");
		private static ResourceManager _rm = new ResourceManager("Lan", Assembly.GetExecutingAssembly());
	}
}
